package com.yfp.auth.service.impl;

import com.yfp.auth.form.CaptchaBody;
import com.yfp.auth.service.CaptchaService;
import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Service;

@Service
@Profile({"dev", "test"})
public class CaptchaServiceImpl implements CaptchaService {
    /**
     * 生成并发送验证码
     *
     * @param captchaBody
     * @return
     */
    @Override
    public String sendCaptcha(CaptchaBody captchaBody) {
        return "1478";
    }
}
